class Release1 < ActiveRecord::Migration
  def self.up
    create_table :resources, :type => 'InnoDB' do |t|
      t.column :url, :string
      t.column :title, :string
      t.column :description, :text
    end
   create_table :dslers, :type => 'InnoDB' do |t|
      t.column :email, :string, :null => false 
      t.column :name, :string, :limit => 50
      t.column :password, :string, :null => false 
    end
  end

  def self.down
    drop_table :resources
    drop_table :dslers
  end
end
